home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / _DateIsLeapYear.au3 < prev    next >
Text File  |  2006-06-17  |  192b  |  8 lines

  1. #include <Date.au3>
  2.  
  3. If _DateIsLeapYear( @YEAR ) Then
  4.     MsgBox( 4096, "Leap Year", "This year is a leap year." )
  5. Else
  6.     MsgBox( 4096, "Leap Year", "This year is not a leap year." )
  7. EndIf
  8.